<!-- inc:head -->
<div id="body">
	<div id="left">&nbsp;</div>
	<div id="right">
		<div id="user_cp" style="margin:60px 240px 10px 0;width:468px;">
			<div class="block-msg">
			<form method="post" action="{:site_url('login,getpasschk')}" onsubmit="return chk_getpass();">
			<table width="100%">
			<tr>
				<td colspan="2" style="padding:10px;">取回密码</td>
			</tr>
			<tr>
				<td align="right">账号：</td>
				<td><input type="text" id="username" name="username" class="input_login" /></td>
			</tr>
			<tr>
				<td align="right">邮箱：</td>
				<td><input type="text" id="email" name="email" class="input_login" /></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="image" src="images/default/submit.gif" align="absmiddle" id="phpok_submit" /></td>
			</tr>
			</form>
			</table>
			<br />
			</div>
		</div>
		<div>
			<!-- run:$ads = phpok('ad_getpass') -->
			{:$ads[content]}
			<!-- run:unset($ads) -->
		</div>
	</div>
</div>
<script type="text/javascript">
function chk_getpass()
{
	var username = getid("username").value;
	var email = getid("email").value;
	if(!username || !email)
	{
		alert("账号或邮箱不能为空");
		if(!username)
		{
			getid("username").focus();
		}
		else
		{
			getid("email").focus();
		}
		return false;
	}
	getid("phpok_submit").disabled =true;
	return true;
}
</script>
<!-- inc:foot -->